<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>1-新浪导航</title>
		<style type="text/css">
			/*通配符选择器,标签或者浏览器默认的内外边距去掉*/
			*{
				margin:0;
				padding:0;
			}
			a{
				text-decoration:none;
			}
			#box{
				height:40px;
				background:#ffffff;
				border-top: 3px solid #ff8500;
				border-bottom:1px solid #edeef0;
			}
			#box >a{
				color: #4c4c4c;
				font-size:12px;
				width: 80px;
				height:40px;
				display: inline-block;
				text-align:center;
				line-height: 40px;
			}
			#box >a:hover{
				color:#ff8500;
				background:#edeef0;
			}
		</style>
	</head>
	<body>
		<div id="box">
			<a href="">百度</a>
			<a href="">新浪</a>
			<a href="">抖音</a>
			<a href="">阿里</a>
		</div>
	</body>
</html>
